package com.hugong.cx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author cx
 * @since 2024-09-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("drugdictionary")
@ApiModel(value = "Drugdictionary对象", description = "药物词典")
public class Drugdictionary implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "drugId", type = IdType.AUTO)
    private Integer drugId;

    @ApiModelProperty("药物词典名称")
    private String drugName;

    private Integer unitId;
    @ApiModelProperty("销售价格")
    private Double sellingPrice;

    private Integer areaId;

    private Integer typeId;


}
